[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>客户联系人编辑</title>
[#include "/include/jsvalidation.ftl"]
[#include "/include/main.ftl"]
[#include "/include/popdialog.ftl"]

</head>
<body>
[#if (obj.op!'')='close']
<script>closeDialog();</script>
[/#if]
                <form name="mainForm" id="mainForm" method="post" action="/Ins/customer/linkman/save" onsubmit="if (va.validate()) formSubmit(this);else return false;">
<INPUT TYPE="hidden" NAME="sn" VALUE="${obj.CustomerLinkManObj.sn?default('')}"/>
<INPUT TYPE="hidden" NAME="mainSn" VALUE="${(obj.CustomerLinkManObj.mainSn)?default('')}">
<INPUT TYPE="hidden" NAME="valid" VALUE="${(obj.CustomerLinkManObj.valid)?default('')}">

                  <div id="CustomerLinkMan_base">
<p>联系人姓名  <input type="text"  size="20" id="name" name="name" class="max-length-40 ">

<script>$("#name").val("${(obj.CustomerLinkManObj.name)?default('')}");</script>
 </p>
 <p>
与客户关系  <input type="text"  size="20" id="relation" name="relation" class="max-length-40 ">

<script>$("#relation").val("${(obj.CustomerLinkManObj.relation)?default('')}");</script>
 </p>
<p>
联系电话  <input type="text"  size="20" id="tel" name="tel" class="max-length-100 ">

<script>$("#tel").val("${(obj.CustomerLinkManObj.tel)?default('')}");</script>
 </p>

<p>
备注  <input type="text"  size="50" id="memo" name="memo" class="max-length-100 ">

<script>$("#memo").val("${(obj.CustomerLinkManObj.memo)?default('')}");</script>
 </p>
<p>

 <input type="submit" name="button" id="button" value="提交">
</p>


                    </div>

                </form>
                <script>
                  va = new Validation('mainForm');
                </script>

</body>
</html>
[/#escape]
